package callbackmechanism;

import java.util.List;

public class MeiMei {
	
	class TellShiXiong implements CallBack {
		@Override
		public void call(String obj, int time) {
			System.out.println("师兄，我找到"+obj+"了，用了"+time+"秒");
		}};
		

	public void beckonRebot(List<String> list) throws InterruptedException {
		new Rebot().filterObj(list, new TellShiXiong());;
	}	
}
